//
//  DongjieTableViewCell.m
//  盘盈贷
//
//  Created by iOS on 15/4/3.
//  Copyright (c) 2015年 Yunpeng Technologies. All rights reserved.
//

#import "DongjieTableViewCell.h"

@implementation DongjieTableViewCell
- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        self.nameTitle = [[UILabel alloc] init];
        [self.contentView addSubview:self.nameTitle];
        [self.nameTitle release];
        
        self.leixing = [[UILabel alloc] init];
        [self.contentView addSubview:self.leixing];
        [self.leixing release];
        self.leixing1 = [[UILabel alloc] init];
        [self.contentView addSubview:self.leixing1];
        [self.leixing1 release];
        self.qixian = [[UILabel alloc] init];
        [self.contentView addSubview:self.qixian];
        [self.qixian release];
        self.qixian1 = [[UILabel alloc] init];
        [self.contentView addSubview:self.qixian1];
        [self.qixian1 release];
        
        self.lilv = [[UILabel alloc] init];
        [self.contentView addSubview:self.lilv];
        [self.lilv release];
        self.lilv1 = [[UILabel alloc] init];
        [self.contentView addSubview:self.lilv1];
        [self.lilv1 release];
        self.touzijine = [[UILabel alloc] init];
        [self.contentView addSubview:self.touzijine];
        [self.touzijine release];
        self.touzijine1 = [[UILabel alloc] init];
        [self.contentView addSubview:self.touzijine1];
        [self.touzijine1 release];
        self.touziriqi = [[UILabel alloc] init];
        [self.contentView addSubview:self.touziriqi];
        [self.touziriqi release];
        self.touziriqi1 = [[UILabel alloc] init];
        [self.contentView addSubview:self.touziriqi1];
        [self.touziriqi1 release];
        self.touziriqi2 = [[UILabel alloc] init];
        [self.contentView addSubview:self.touziriqi2];
        [self.touziriqi2 release];
        self.jixi = [[UILabel alloc] init];
        [self.contentView addSubview:self.jixi];
        [self.jixi release];
        
        self.jixi1 = [[UILabel alloc] init];
        [self.contentView addSubview:self.jixi1];
        [self.jixi1 release];
               
    }
    return self;
}
- (void)layoutSubviews
{
    [super layoutSubviews];
    self.nameTitle.frame = CGRectMake(10, 3, 250, 27);
    self.nameTitle.font = [UIFont fontWithName:@"Helvetica-Bold" size:17];
    self.leixing.frame = CGRectMake(13, 35, 60, 20);
    self.leixing.text = @"产品类型";
    self.leixing.font = [UIFont systemFontOfSize:14];
    self.leixing.textColor = [UIColor grayColor];
    self.leixing1.frame = CGRectMake(80, 35, 50, 20);
    self.leixing1.font = [UIFont systemFontOfSize:14];
    self.leixing1.textColor = [UIColor orangeColor];
    self.qixian.frame = CGRectMake(13, 65, 50, 20);
    self.qixian.font = [UIFont systemFontOfSize:14];
    self.qixian.text = @"期限";//利率
    self.qixian.textColor = [UIColor grayColor];
    self.qixian1.font = [UIFont systemFontOfSize:14];
    self.qixian1.frame = CGRectMake(80, 65, 70, 20);
    self.qixian1.textColor = [UIColor orangeColor];
    self.lilv.frame = CGRectMake(160, 65, 50, 20);
    self.lilv.font = [UIFont systemFontOfSize:14];
    self.lilv.textColor = [UIColor grayColor];
    self.lilv.text = @"利率";//期限
    self.lilv1.font = [UIFont systemFontOfSize:14];
    self.lilv1.frame = CGRectMake(225, 65, 70, 20);
    self.lilv1.textColor = [UIColor orangeColor];
    
    
    
    self.touzijine.frame = CGRectMake(160, 35, 90, 20);
    self.touzijine.font = [UIFont systemFontOfSize:14];
    self.touzijine.textColor = [UIColor grayColor];
    self.touzijine.text = @"投资金额";
    self.touzijine1.font = [UIFont systemFontOfSize:14];
    self.touzijine1.frame = CGRectMake(225, 35, 110, 20);
    self.touzijine1.textColor = [UIColor orangeColor];
    
    self.touziriqi.frame = CGRectMake(13, 90, 60, 20);
    self.touziriqi.font = [UIFont systemFontOfSize:14];
    self.touziriqi.textColor = [UIColor grayColor];
    self.touziriqi.text = @"投资日期";
    self.touziriqi1.font = [UIFont systemFontOfSize:14];
    self.touziriqi1.frame = CGRectMake(80, 90, 110, 20);
    self.touziriqi1.textColor = [UIColor orangeColor];
    self.touziriqi2.font = [UIFont systemFontOfSize:14];
    self.touziriqi2.frame = CGRectMake(163, 90, 110, 20);
    self.touziriqi2.textColor = [UIColor orangeColor];
    
//    self.jixi.frame = CGRectMake(160, 100, 90, 20);
//    self.jixi.font = [UIFont systemFontOfSize:14];
//    self.jixi.textColor = [UIColor grayColor];
//    self.jixi.text = @"计息日期";
//    self.jixi1.font = [UIFont systemFontOfSize:14];
//    self.jixi1.frame = CGRectMake(225, 100, 110, 20);
//    self.jixi1.textColor = [UIColor orangeColor];
}

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
